package map;

public class Square extends MapTu{

    private Double length;

    public Square(Double length) {
        this.length = length;
    }

    public Double getLength() {
        return length;
    }

    public void setLength(Double length) {
        this.length = length;
    }

    @Override
    public Double countAcrege() {
        return this.getLength()*this.getLength();
    }
}
